<?php
try {
    $account = Account::instance()->getOne($_GET['id']);
	View::display('accounting/account/detail', array('account'=> $account));
} catch(Exception $ex) {
	Log::error($ex);
}